/*!
\copyright  Copyright (c) 2023 -2025 Qualcomm Technologies International, Ltd.
			All Rights Reserved.
			Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file
\defgroup   downloadable Downloadable
\ingroup    audio_domain
\brief      Support for downloadable capabilities that doesn't have dkcs headers.
 
The purpose of this API is to set the map of available downloadable capabilities. 

*/

#ifndef DOWNLOADABLE_H_
#define DOWNLOADABLE_H_


/*!@{*/

#include <operators.h>

typedef struct
{
    uint16 cap_id;
    const char * filename;
} downlodable_map_entry_t;

typedef struct
{
    /*! Pointer to an array of capability bundles */
    const downlodable_map_entry_t *downlodable_map;
    /*! The number of capability bundles in the array */
    unsigned number_of_downloadables;
} downlodable_map_config_t;

/*!
  @brief Set the map of available downloadable capabilities.

  @param config Pointer to the capability map.
*/
void Downloadable_SetConfig(const downlodable_map_config_t *config);

#endif /* DOWNLOADABLE_H_ */
